home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / cpp_libs / rjs.lha / RJS / CmdLine / src / CmdLine.doc < prev    next >
Text File  |  1991-06-14  |  970b  |  74 lines

  1.  
  2. CmdOpt_param(int n)    -- catches n'th `unclaimed word'
  3. CmdOpt_xtra        -- catches left overs
  4.  
  5. CmdOpt_int_list     -- catches -list 1,2,3 or -list 1 2 3
  6. CmdOpt_double_list     -- catches -list 2,4.5,6 or -list 324 34.56 34.34
  7. CmdOpt_string_list    -- catches -list a,b,c  or -list a b c
  8. CmdOpt_file_list
  9. CmdOpt_input_file_list
  10. CmdOpt_output_file_list
  11.  
  12. x    CmdOpt_flag
  13. x    CmdOpt_boolean
  14. x    CmdOpt_double
  15. x    CmdOpt_int
  16. x    CmdOpt_string
  17.  
  18. x    CmdOpt_int_range
  19.  
  20. CmdOpt_double_range
  21.  
  22. CmdOpt_file
  23. CmdOpt_input_file
  24. CmdOpt_output_file
  25.  
  26.  
  27.  
  28. objects -
  29.  
  30. CmdOpt_boolean
  31.  
  32. CmdOpt_double
  33.  
  34.     for double (floating numbers)
  35.  
  36.     0
  37.     12.3
  38.     -12.3
  39.  
  40. CmdOpt_int
  41.  
  42.     for int (integer numbers)
  43.  
  44.     0 
  45.     -1 
  46.     0xff
  47.     0666 
  48.  
  49. CmdOpt_string
  50.  
  51.     for String (ascii strings)
  52.  
  53.     hello
  54.     this is a string
  55.  
  56. CmdOpt_int_range
  57.  
  58.     for a range of integers ( to ints seperatered by a : )
  59.  
  60.     0:10        0 to 10
  61.     1     1 with no high range
  62.     2:     2 with no high range
  63.     :40     40 with no low range
  64.  
  65.  
  66. CmdOpt_file
  67.  
  68. CmdOpt_input_file
  69.  
  70. CmdOpt_output_file
  71.  
  72. CmdOpt_user
  73.  
  74.